package org.jeecg.modules.jxc.basicdata.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.jxc.basicdata.entity.Goods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yaorange
 * @since 2021-10-27
 */
public interface GoodsMapper extends BaseMapper<Goods> {


    IPage<Goods> getGoodsAndType(Page<Goods> page, @Param("key") String key);
    IPage<Goods> treeGetGoods(Page page,@Param("goodTypeId") Integer goodTypeId);
}
